
import 'dart:convert';
class SiteDeviceSummaryModel {
  SiteDeviceSummaryModel({
    this.count,
    this.id,
    this.name,
  });


  ///当前单元数量
  int? count;

  ///单元id
  int? id;

  ///单元名称
  String? name;

  factory SiteDeviceSummaryModel.fromJson(Map<String, dynamic> json) => SiteDeviceSummaryModel(
    count: json["count"] ?? 0,
    id: json["id"] ?? 0,
    name: json["name"] ?? '',
  );

  Map<String, dynamic> toJson() => {
    "count": count,
    "id": id,
    "name": name,
  };
}